package com.aischool.service;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class SysAreaService {

	public List<Record> getChild(int area_id){
		return Db.findByCache("CacheArea", "sys_area_pid_"+area_id, "select area_id, area_name from sys_area where parent_id = ?", area_id);
	}
}
